<?php
html::printPath(array(
        'seminar.form-title' => 'admin/seminar/all',
        $this->data->seminar['name'] => '/admin/seminar/display?id=' . $this->data->seminar['id'],
        'seminarAccounts.form-title' => ''
    )
);
$msg->printMessages();

echo '<h2>' . text::getEscaped('seminarAccounts.selectOrganization') . '</h2>';
echo '<p class="description">' . text::getEscaped('seminarAccounts.selectOrganization-desc') . '</p>';

echo '<ul>';
foreach ($countryList as $country) {
    echo '<li><h3>' . $country['name'] . '</h3>';
        foreach ($country['organizationList'] as $organization) {
            echo '<ul>';
            if ($organization['payment_acceptance_confirmed_at']) {
            	echo '<li class="locked" title="' . text::getEscaped('seminarAccounts-accountingConfirmed') . '">';
            }
            else {
            	echo '<li>';
            }
            echo html::anchor('/admin/seminarAccounts/selectOrganization?organizationId=' . $organization['id'], $organization['name']) . '</li>';
            echo '</ul>';
        }
    echo '</li>';
}
echo '</ul>';